<!DOCTYPE html>
<html lang="zh-cn"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity5">
<head th:replace="common::head"></head>
<body>
<div th:replace="common::top"></div>
<br/>

<p><a href="../index.html" th:href="@{/index.html}">返回首页</a></p>

<table>
    <tr>
        <td>ID</td>
        <td>name</td>
        <td>type</td>
        <td>lockGranularity</td>
    </tr>
    <tr th:each="item : ${tables}">
        <td th:text="${item.id}"></td>
        <td th:text="${item.name}"></td>
        <td th:text="${item.type}"></td>
        <td th:text="${item.lockGranularity}"></td>
    </tr>
</table>

<table th:each="item,stat:${map}">
    <tr><td th:text="${stat.current.key}"></td></tr>
    <tr th:each="e : ${stat.current.value}">
        <td th:text="${e.number}"></td>
        <td th:text="${e.name}"></td>
        <td th:text="${e.dataType}"></td>
    </tr>
</table>

</body>
</html>
